package org.yu.register.mobeffect;

import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.effect.MobEffectCategory;
import net.minecraft.world.entity.ai.attributes.Attribute;
import net.minecraft.world.entity.ai.attributes.AttributeModifier;
import net.minecraft.world.entity.ai.attributes.Attributes;

public class AwakenEffect extends MobEffect {
    public AwakenEffect(MobEffectCategory category,int color) {
        super(category,color);
        addAttributeModifier(Attributes.MAX_HEALTH,"3203cda0-a81b-41e8-8518-421587299a52",2, AttributeModifier.Operation.ADDITION);
    }
    @Override
    public boolean isDurationEffectTick(int pDuration, int pAmplifier) {
        return true;
    }
}
